using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using DialogHostAvalonia;
using MyTodo.Common;
using MyTodo.Extensions;
using Prism.Events;

namespace MyTodo.Views;

public partial class SidebarView : UserControl
{
    public SidebarView()
    {
        InitializeComponent();
    }

    private void  Button_Other_Click(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
    {
        DialogHost.Show(Resources["Sample2View"]!, "Root");
    }
}